package com.zr.seekbardemo;

import android.app.Activity;
import android.os.Bundle;

public class MainActivity extends Activity {

	private SeekBarPressure seekBarPressures;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		
		initView();
	}

	private void initView() {
		seekBarPressures = (SeekBarPressure) findViewById(R.id.seekBar_tg2);

		seekBarPressures
				.setOnSeekBarChangeListener(new SeekBarPressure.OnSeekBarChangeListener() {
					@Override
					public void onProgressBefore() {
//						isScreen = true;
					}

					@Override
					public void onProgressChanged(SeekBarPressure seekBar,
							double progressLow, double progressHigh) {

//						editTexts_min.setText((int) progressLow + "");
//
//						editTexts_max.setText((int) progressHigh + "");

					}

					@Override
					public void onProgressAfter() {
//						isScreen = false;
					}
				});
	}
}
